//
//  PywPasswordView.h
//  ANB_PasswordView_Demo
//
//  Created by smallwave on 16/7/26.
//  Copyright © 2016年 yyft. All rights reserved.
//

#import <UIKit/UIKit.h>
@class PywPasswordView;

@protocol PywPasswordViewDelegate <NSObject>

@optional
- (void)passwordView:(PywPasswordView *)passwordView;

@end

@interface PywPasswordView : UIView

@property (nonatomic, copy) void(^passwordBlock)(NSString *password);
@property (nonatomic, assign) NSUInteger elementCount;  // 元素数量
@property (nonatomic, assign) NSUInteger elementMargin; // 元素间距
@property (nonatomic, strong) UIColor   *elementColor;  // 元素颜色

/**
 *  清楚文本
 */
- (void)clearText;

@end
